package com.king.freefish.common.annotation;

import com.king.freefish.common.enums.SensitiveType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @packageName com.king.freefish.common.annotation
 * @Author: jinguoguang
 * @Date: 2025/7/29 15:55
 * @Description: 脱敏字段
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface SensitiveField {

    /**
     * 脱敏类型
     *
     * @return @See {@link SensitiveType}
     */
    SensitiveType value() default SensitiveType.DEFAULT;
}